package com.yhg.qxmall.cartorder.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yhg.common.utils.PageUtils;
import com.yhg.common.utils.Query;

import com.yhg.qxmall.cartorder.dao.FmsOrderItemDao;
import com.yhg.qxmall.cartorder.entity.FmsOrderItemEntity;
import com.yhg.qxmall.cartorder.service.FmsOrderItemService;


@Service("fmsOrderItemService")
public class FmsOrderItemServiceImpl extends ServiceImpl<FmsOrderItemDao, FmsOrderItemEntity> implements FmsOrderItemService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<FmsOrderItemEntity> page = this.page(
                new Query<FmsOrderItemEntity>().getPage(params),
                new QueryWrapper<FmsOrderItemEntity>()
        );

        return new PageUtils(page);
    }

}